package com.preskool.service;

import com.preskool.po.Student;

import java.util.List;

/**
 * @Auther
 * @Date
 */
public interface StudentService {
    //通过id单查
    public Student selectById(Integer id);

    //添加学生
    public Boolean addStudent(Student student);

    //通过id删除学生
    public Boolean deleteStudent(Integer id);

    //通过id修改学生
    public Boolean updateStudent(Integer id);

    //分页查询
    public List<Student> findPage(Integer currentPage,Integer pageSize);
}
